TsgCADHatch
Unit: DXFConv
Description
The TsgCADHatch
class defines the HATCH entity for the CAD files.
Syntax
TsgCADHatch = class(TsgCADCurvePolygon)
Properties
Properties | Description |
---|---|
FillStyle | The property gets or sets a fill style for the HATCH object. |
HatchPatternData | The property returns a list of the TsgHatchPatternData class elements. |
HatchStyle | The property gets or sets a hatch style. |
Lines | The property returns the TsgLines class object. |
LineType | The property gets or sets a pattern line type. |
ParsedLines | The property gets a list of hatch lines according to borders. |
PatternAngle | The property gets or sets an angle of pattern lines (pattern fill only). |
PatternScale | The property gets or sets a pattern scale or spacing (pattern fill only). |
Derived from TsgCADCurvePolygon | Description |
---|---|
BoundaryData | The property gets a boundary path by its index. |
Elevation | The property gets or sets extrusion direction of the TsgCADCurvePolygon class object. |
Extrusion | The property gets or sets a color for filling of polygon. |
Derived from TsgCADGradientPolygon | Description |
---|---|
GradientAngle | The property gets or sets an angle of the gradient fill. |
GradientColor | The property gets a color for the gradient fill. |
GradientColorCAD | the property gets or sets a CAD color for the gradient fill. |
GradientName | The property gets or sets a type of the gradient fill by its name. |
GradientUseCenter | The property gets or sets a value indicating whether the gradient fill is symmetrical relative to the center. |
Derived from TsgCADPolyPolygon | Description |
---|---|
Boundaries | The property returns list of boundaries. |
Derived from TsgDXFEntity | Description |
---|---|
Box | The property determines the 3d box embraced the entity. |
Color | The property gets or sets entity color. |
ColorCAD | The property gets or sets a color for drawing entities. |
Complex | The property determines whether a entity is populated with child entities. |
Converter | The property returns the TsgDXFConverter class object. |
Count | The property indicates the total number of child entities. |
Entities | The property lists all child entities. |
EntType | The property indicates type of an entity. |
Handle | The property is used for finding entity links. |
Layer | The property points to layer, containing given primitive if this layer is given. |
LineType | The property sets and gets line type for an entity. |
LineTypeScale | The property sets and gets the Linetype scale. |
LineWeight | The property sets or gets line weight in millimeters. |
PaperSpace | The property indicates Model Space and Paper Space entity segregation. |
SrcEnd | The property indicates end position of the entity description in the source CAD file. |
SrcStart | The property indicates start position of the entity description in the source CAD file. |
Visibility | The property sets and gets entities visibility. |
Visible | The property determines whether the component appears onscreen. |
Methods
Methods | Description |
---|---|
AssignEntity | The method copies properties of source entity to the TsgCADHatch class object. |
Create | Creates an instance of the TsgCADHatch object. |
Destroy | Frees up all internal objects before destroying this object. |
GetThickness | The method assigns the pattern data of a specified HATCH object to the TsgCADHatch . |
Derived from TsgCADCurvePolygon | Description |
---|---|
GetBoxPoints |
Derived from TsgDXFEntity | Description |
---|---|
AddEntity | The method adds a new child entity. |
Clone | The method copies properties of source entity to current entity (include Handle ). |
Draw | The method generates the OnDraw event. |
EntName | The method returns an entity name. |
SetLType | The method sets line type of the entity. |
SetLWeight | The method sets line weight width of the entity. |
Events
Derived from TsgDXFEntity | Description |
---|---|
OnDraw | The event occurs when the Draw method is called. |